package org.hackystat.sdsa.analyzer.control.compressor;

import java.util.List;

import org.hackystat.sdsa.analyzer.SdsaAnalyzerException;
import org.hackystat.sdsa.analyzer.model.activity.Activity;

/**
 * Defines a compressor that can reduce repetitive development 
 * activities into one development activities.
 * 
 * @author hongbing
 *
 */
public interface Compressor {
  /**
   * Compresses the activities in the list.
   * 
   * @param activityList List of development activities.
   * @throws SdsaAnalyzerException If problem occurs.
   */
  public void compress(List<Activity> activityList) throws SdsaAnalyzerException;
}
